package com.wish.wishhouse_foreclosure.service;

import com.github.pagehelper.PageInfo;
import com.wish.wishhouse_foreclosure.entity.TSfContract;
import com.baomidou.mybatisplus.extension.service.IService;
import dto.houseResourceDto.TSfContractDto;
import com.wish.wishhouse_foreclosure.entity.TSfContract;
import com.baomidou.mybatisplus.extension.service.IService;
import dto.houseForeclosureDto.*;
import dto.response.ResponseSearchSfsDto;
import dto.houseForeclosureDto.RequestDetailSfContractDto;
import dto.houseForeclosureDto.RequestTerminalSfContractDto;
import dto.houseForeclosureDto.ResponseDetailSfContractDto;
import dto.houseForeclosureDto.TsfContractDto;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author zhangshuxin
 * @since 2021-03-31
 */
public interface ITSfContractService extends IService<TSfContract> {


    List<TSfContract> selectPageVo(TsfContractDto tsfContractDto);




    PageInfo<TSfContract> selects(TSfContractDto tSfContractDto);
    /**
     *
     * @Description:收房合同录入
     * @parm @param requestDetailSfContractSaveDto 参数
     * @return 返回值说明
     * @throws Exception
     */
    public void saveSfContract(RequestDetailSfContractSaveDto requestDetailSfContractSaveDto) throws Exception;
    /**
     *
     * @Description:查询收房合同分页List 续约
     * @parm @param  requestSearchSfContractsDto参数
     * @return 返回值说明
     */

    List<ResponseSearchSfsDto> listSfByXy(RequestSearchSfsDto requestSearchSfsDto);

    List<TSfContract>  searchSfAllNotDissolution(TsfContractDto tsfContractDto); //***

    ResponseDetailSfContractDto detailSfContractB(RequestDetailSfContractDto requestDetailSfContractDto);

    void terminalSfContract(RequestTerminalSfContractDto terminalSfContractDto) throws Exception;
}
